home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / Movie From DataRef / Clippings / CreateMovie.c / CreateDataRef.clp < prev    next >
MacBinary  |  2000-10-06  |  896 b   |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert TRS-80 CLP File (image/trs80Clp) ext Supported
66% dexvert PC Paint Image (image/pcPaint) ext Supported
66% dexvert Windows Clipboard (image/windowsClipboard) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Quattro Pro Clip Art (image/quattroProClipArt) ext Unsupported
1% dexvert Home Plan Pro 5 Clip (other/homePlanPro5Clip) ext Unsupported
100% file MacBinary II, inited, Mon May 8 18:09:06 2000, modified Fri Oct 6 15:37:01 2000, creator 'drag', type 'clpt' "CreateDataRef.clp", at 0x80 731 bytes resource Apple HFS/HFS+ resource fork, map offset 0x295, map length 0x46, data length 0x195, nextResourceMap 0x7ac3e40, fileRef 0x23e, list offset 0x1c, name offset 0x46, 2 types, 0x54455854 'TEXT' * 1 resource offset 0x12 default (weak)
99% file data default
74% TrID Mac Text clippings (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 43 72 65 61 74 65 | 44 61 74 61 52 65 66 2e |..Create|DataRef.|
|00000010| 63 6c 70 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |clp.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 63 6c 70 74 64 72 61 | 67 01 00 00 00 00 00 00 |.clptdra|g.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 02 db b5 3c eb 82 b6 |........|....<...|
|00000060| 03 da 5d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..].....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e5 a1 00 00 |........|........|
|00000080| 00 00 01 00 00 00 02 95 | 00 00 01 95 00 00 00 46 |........|.......F|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 11 43 72 65 61 74 65 44 | 61 74 61 52 65 66 2e 63 |.CreateD|ataRef.c|
|000000c0| 6c 70 6f 63 6c 70 2e 63 | 6c 70 63 6c 70 70 70 79 |lpoclp.c|lpclpppy|
|000000d0| 02 00 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 8d |..clptdr|ag......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 b5 3c e4 7a 00 00 | 00 00 00 00 02 db 00 00 |...<.z..|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 01 6d 09 09 2f 2f | 20 43 72 65 61 74 65 20 |...m..//| Create |
|00000190| 61 20 64 61 74 61 20 72 | 65 66 65 72 65 6e 63 65 |a data r|eference|
|000001a0| 20 77 68 69 63 68 20 77 | 65 20 77 69 6c 6c 20 75 | which w|e will u|
|000001b0| 73 65 20 74 6f 20 63 72 | 65 61 74 65 20 6f 75 72 |se to cr|eate our|
|000001c0| 20 6d 6f 76 69 65 2e 20 | 49 6e 20 74 68 69 73 20 | movie. |In this |
|000001d0| 63 61 73 65 2c 0d 09 09 | 2f 2f 20 77 65 27 6c 6c |case,...|// we'll|
|000001e0| 20 63 6f 6e 73 74 72 75 | 63 74 20 61 20 55 52 4c | constru|ct a URL|
|000001f0| 20 64 61 74 61 20 72 65 | 66 65 72 65 6e 63 65 2e | data re|ference.|
|00000200| 20 54 68 65 20 55 52 4c | 20 64 61 74 61 20 72 65 | The URL| data re|
|00000210| 66 65 72 65 6e 63 65 0d | 09 09 2f 2f 20 69 73 20 |ference.|..// is |
|00000220| 73 69 6d 70 6c 79 20 61 | 20 68 61 6e 64 6c 65 20 |simply a| handle |
|00000230| 77 68 6f 73 65 20 64 61 | 74 61 20 69 73 20 61 20 |whose da|ta is a |
|00000240| 55 52 4c 20 64 65 73 63 | 72 69 62 69 6e 67 20 61 |URL desc|ribing a|
|00000250| 20 6d 6f 76 69 65 2e 0d | 09 09 0d 09 09 64 61 74 | movie..|.....dat|
|00000260| 61 52 65 66 20 3d 20 4e | 65 77 48 61 6e 64 6c 65 |aRef = N|ewHandle|
|00000270| 43 6c 65 61 72 28 53 74 | 72 4c 65 6e 67 74 68 28 |Clear(St|rLength(|
|00000280| 75 72 6c 29 20 2b 20 31 | 29 3b 0d 09 09 43 68 65 |url) + 1|);...Che|
|00000290| 63 6b 45 72 72 6f 72 28 | 4d 65 6d 45 72 72 6f 72 |ckError(|MemError|
|000002a0| 28 29 2c 20 22 4e 65 77 | 48 61 6e 64 6c 65 43 6c |(), "New|HandleCl|
|000002b0| 65 61 72 20 65 72 72 6f | 72 22 29 3b 0d 09 09 42 |ear erro|r");...B|
|000002c0| 6c 6f 63 6b 4d 6f 76 65 | 44 61 74 61 28 75 72 6c |lockMove|Data(url|
|000002d0| 2c 20 2a 64 61 74 61 52 | 65 66 2c 20 53 74 72 4c |, *dataR|ef, StrL|
|000002e0| 65 6e 67 74 68 28 75 72 | 6c 29 20 2b 20 31 29 3b |ength(ur|l) + 1);|
|000002f0| 0d 00 00 00 20 00 00 00 | 01 00 00 00 04 00 00 00 |.... ...|........|
|00000300| 00 00 00 00 01 54 45 58 | 54 00 00 01 00 00 00 00 |.....TEX|T.......|
|00000310| 00 00 00 00 00 00 00 01 | 00 00 00 02 95 00 00 01 |........|........|
|00000320| 95 00 00 00 46 07 ac 3e | 40 02 3e 00 00 00 1c 00 |....F..>|@.>.....|
|00000330| 46 00 01 54 45 58 54 00 | 00 00 12 64 72 61 67 00 |F..TEXT.|...drag.|
|00000340| 00 00 1e 01 00 ff ff 00 | 00 00 00 00 5a b5 b4 00 |........|....Z...|
|00000350| 80 ff ff 00 00 01 71 00 | 75 f8 cc 00 00 00 00 00 |......q.|u.......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+